import  * as types from './actionTypes.js';

import { message } from 'antd';

import { 
  pub_get,
  pub_post,
 } from '../../../Request.jsx';

import { loginUrl } from '../../../api/index.js';

const getLoginStart = ()=>{
	return {
		type :types.LOGIN_START
	}
}

const getLoginDone = ()=>{
	return {
		type :types.LOGIN_DONE
	}
}

 export const getLoginAction = (values)=>{
 	return (dispatch)=>{
 		dispatch(getLoginStart())

   }
 	}